home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 1.8 KB | 73 lines | [TEXT/MPS ] |
- /*
- File: ADSPSecure.idl
-
- Contains: Secure AppleTalk Data Stream Protocol Interfaces.
-
- Version: Technology: AOCE Toolbox 1.02
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __ADSPSECURE_IDL__
- #define __ADSPSECURE_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #ifndef __ADSP_IDL__
- #include <ADSP.idl>
- #endif
- #ifndef __OCEAUTHDIR_IDL__
- #include <OCEAuthDir.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- #if FOR_SYSTEM7_ONLY
- /*
- New ADSP control codes
-
- * open a secure connection
- */
- /*
- For secure connections, the eom field of ioParams contains two single-bit flags
- (instead of a zero/non-zero byte). They are an encrypt flag (see below), and an
- eom flag. All other bits in that field should be zero.
-
- To write an encrypted message, you must set an encrypt bit in the eom field of
- the ioParams of your write call. Note: this flag is only checked on the first
- write of a message (the first write on a connection, or the first write following
- a write with eom set.
- */
- /*
- Define an ADSPSecure parameter block, as used for the secure Open call.
-
- * size of ADSPSecure workspace
- */
- typedef SOMLargeStruct TRSecureParams; /* Derived from a struct of 72 bytes in size */
-
-
-
- typedef OpaquePtr SDSPPBPtr; /* Substituted OpaquePtr for “SDSPParamBlock*” */
-
- typedef OpaquePtr SDSPIOCompletionProcPtr;
- typedef OpaquePtr SDSPIOCompletionUPP;
- typedef SOMLargeStruct SDSPParamBlock; /* Derived from a struct of 208 bytes in size */
-
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __ADSPSECURE_IDL__ */
-
-